﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.GridManage.Domain.Entities
{
    /// <summary>
    /// 所有实体类的基类
    /// </summary>
    public class BaseEntity
    {
        /// <summary>
        /// 主键id
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public long Id { get; set; }
        /// <summary>
        /// 是否删除标识  0:未删除  1:已删除
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
